package cc.lj.internal.mobilepay.interfaces.dto.command;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;

/**
 * 请求中信退款接口-command
 * @author liangxifeng
 * @date 2022-11-29
 */
@Data
public class RefundCommand extends CiticRequestCommand{
    /**
     * 商户退款单号
     */
    @NotBlank(message = "商户退款单号")
    private String outRefundNo;
    /**
     * 交易金额，单位为分
     */
    @DecimalMin(value = "1",message = "交易金额必须>=1" )
    private Integer totalFee;

    /**
     * 退款交易金额，单位为分
     */
    @DecimalMin(value = "1",message = "退款金额必须>=1" )
    private Integer refundFee;
}
